#ifndef ENTRYINSBASE_H_INC
#define ENTRYINSBASE_H_INC

#include "cxthread.h"
#include "dda_server.h"
#include "ndata.h"
#include "fifo.h"
#include "mcu_clib.h"
#include "stdio.h"

class EntryInsBase :public IReqProcessor
{
public:
	int	    m_ddaId;
	int	    m_entryIndex;
	int	    m_instanceIndex;
	virtual void  PushReq(CxReq* req);
	virtual BOOL  SetParam(WORD memId, Ndata* pSrcParam) = 0;
	virtual BOOL  GetParam(WORD memId, Ndata* pDstParam) = 0;
};

void  LocateInstanceClassName(WORD entryIndex, WORD instanceIndex, char* className);
void  LocateInstanceTagName(WORD entryIndex, WORD instanceIndex, char* tagName);


#endif

